package com.yjn.blog.model.http;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Classname: UserReq
 * Package: com.yjn.blog.model.http
 * Description:
 *
 * @Author 余集楠
 * @Create 2024/7/16 0016 20:35
 * @Version 1.8
 */
@Data
public class UserReq implements Serializable {
    @NotBlank(message="用户名不能为空")
    private String username;

    @NotBlank(message="密码不能为空")
    private String password;


}
